home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 for Intel / NeXTSTEP 3.2 for Intel.iso / NextLibrary / Documentation / Sybase / DBLIB / Section2 / dbrpwclr.nr < prev    next >
Encoding:
Text File  |  1993-04-22  |  1.4 KB  |  57 lines

  1. .Na "dbrpwclr" 
  2. .mc |
  3. .Aa
  4. .Fu
  5. Clear all remote passwords from the LOGINREC structure.
  6. .Ih "remote procedure call"
  7. .Ih "stored procedure, calling"
  8. .Ih "call, remote procedure"
  9. .Ih "password, remote"
  10. .Ih "remote password"
  11. .Sy
  12. .Sf "void dbrpwclr(loginrec)"
  13. .Sp "LOGINREC" "*loginrec"
  14. .Co
  15. .Bl
  16. A \*N command batch or stored procedure running
  17. on one \*S may call a stored procedure located on
  18. another \*S.
  19. To accomplish this server-to-server communication,
  20. the first \*S,
  21. connected to the application through \f2dbopen()\f1, 
  22. actually logs into the second, remote \*S.
  23. .sp 0.5v
  24. \f2dbrpwset()\f1 allows the application to specify
  25. the password to be used when the first \*S
  26. attempts to call the stored procedure on the remote \*S.
  27. Multiple passwords may be specified, one for each
  28. \*S that the first \*S might need to log into.
  29. .Bl
  30. A single LOGINREC can be used repeatedly, in successive
  31. \f2dbopen()\f1 calls to different \*Ss.
  32. \f2dbrpwclr()\f1 allows the application to remove any remote
  33. password information currently in the LOGINREC, so that successive
  34. calls to \f2dbopen()\f1 can contain different remote password
  35. information (specified with \f2dbrpwset()\f1).
  36. .Bz
  37. .Pa
  38. .Pi loginrec
  39. A pointer to a LOGINREC structure.  This pointer will serve as
  40. an argument to 
  41. .I "dbopen()."
  42. You can get one by calling
  43. .I "dblogin()."
  44. .in -.375i
  45. .Re
  46. .br
  47. None.
  48. .Sa
  49. dblogin, 
  50. dbopen, 
  51. dbrpwset, 
  52. DBSETLAPP, 
  53. DBSETLHOST, 
  54. DBSETLPWD, 
  55. DBSETLUSER
  56. .mc
  57.